<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: esp8266/flash.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_cc2d49507704e901eabd8a82be491fc5.html">esp8266</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">flash.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Flash read and bit test utilities.  
<a href="#details">More...</a></p>

<p><a href="flash_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a8820bdd8a76740aaafe0506ff6040002"><td class="memItemLeft" align="right" valign="top"><a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="flash_8h.html#a8820bdd8a76740aaafe0506ff6040002">read_flash8</a> (<a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *p)</td></tr>
<tr class="separator:a8820bdd8a76740aaafe0506ff6040002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a70a218c9d4bae2e51bda4d7219712f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="flash_8h.html#a9a70a218c9d4bae2e51bda4d7219712f">cpy_flash</a> (<a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *src, <a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *dest, int size)</td></tr>
<tr class="memdesc:a9a70a218c9d4bae2e51bda4d7219712f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy data from Flash to Ram Uses flash_read8() to avoid alighnment problems.  <a href="#a9a70a218c9d4bae2e51bda4d7219712f">More...</a><br /></td></tr>
<tr class="separator:a9a70a218c9d4bae2e51bda4d7219712f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a092855859eb7ea714f2ab3eee711ddc4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="flash_8h.html#a092855859eb7ea714f2ab3eee711ddc4">read_flash16</a> (<a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *p)</td></tr>
<tr class="memdesc:a092855859eb7ea714f2ab3eee711ddc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">16 bits reads from Flash memory space Uses <a class="el" href="flash_8c.html#a9a70a218c9d4bae2e51bda4d7219712f" title="Copy data from Flash to Ram Uses flash_read8() to avoid alighnment problems. ">cpy_flash()</a> to avoid alighnment problems  <a href="#a092855859eb7ea714f2ab3eee711ddc4">More...</a><br /></td></tr>
<tr class="separator:a092855859eb7ea714f2ab3eee711ddc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0366232efac94fc6f8da6a20d9bdaf9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="flash_8h.html#ac0366232efac94fc6f8da6a20d9bdaf9">read_flash32</a> (<a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *p)</td></tr>
<tr class="memdesc:ac0366232efac94fc6f8da6a20d9bdaf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">32 bits reads from Flash memory space Uses <a class="el" href="flash_8c.html#a9a70a218c9d4bae2e51bda4d7219712f" title="Copy data from Flash to Ram Uses flash_read8() to avoid alighnment problems. ">cpy_flash()</a> to avoid alighnment problems  <a href="#ac0366232efac94fc6f8da6a20d9bdaf9">More...</a><br /></td></tr>
<tr class="separator:ac0366232efac94fc6f8da6a20d9bdaf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1d6ea8dfe88a05a02869a3dd8cd7deb"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="flash_8h.html#ab1d6ea8dfe88a05a02869a3dd8cd7deb">read_flash64</a> (<a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *p)</td></tr>
<tr class="memdesc:ab1d6ea8dfe88a05a02869a3dd8cd7deb"><td class="mdescLeft">&#160;</td><td class="mdescRight">64 bits reads from Flash memory space Uses <a class="el" href="flash_8c.html#a9a70a218c9d4bae2e51bda4d7219712f" title="Copy data from Flash to Ram Uses flash_read8() to avoid alighnment problems. ">cpy_flash()</a> to avoid alighnment problems  <a href="#ab1d6ea8dfe88a05a02869a3dd8cd7deb">More...</a><br /></td></tr>
<tr class="separator:ab1d6ea8dfe88a05a02869a3dd8cd7deb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab39a1de20d7b9b1da1fb85100c0cbb10"><td class="memItemLeft" align="right" valign="top"><a class="el" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="flash_8h.html#ab39a1de20d7b9b1da1fb85100c0cbb10">read_flash_ptr</a> (<a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *p)</td></tr>
<tr class="memdesc:ab39a1de20d7b9b1da1fb85100c0cbb10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer read from Flash memory space Uses <a class="el" href="flash_8c.html#a9a70a218c9d4bae2e51bda4d7219712f" title="Copy data from Flash to Ram Uses flash_read8() to avoid alighnment problems. ">cpy_flash()</a> to avoid alighnment problems.  <a href="#ab39a1de20d7b9b1da1fb85100c0cbb10">More...</a><br /></td></tr>
<tr class="separator:ab39a1de20d7b9b1da1fb85100c0cbb10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96d99653ceafa913b2f1331ef7219be8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="flash_8h.html#a96d99653ceafa913b2f1331ef7219be8">bittestv</a> (unsigned char *ptr, int off)</td></tr>
<tr class="memdesc:a96d99653ceafa913b2f1331ef7219be8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test bit in byte array.  <a href="#a96d99653ceafa913b2f1331ef7219be8">More...</a><br /></td></tr>
<tr class="separator:a96d99653ceafa913b2f1331ef7219be8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5ed287545d9d0d4361d2bd1c6ecc69d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="flash_8h.html#aa5ed287545d9d0d4361d2bd1c6ecc69d">bittestxy</a> (unsigned char *ptr, int <a class="el" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a>, int <a class="el" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a>, int w, int h)</td></tr>
<tr class="memdesc:aa5ed287545d9d0d4361d2bd1c6ecc69d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test bit in w * h size bit array usng x and y offsets.  <a href="#aa5ed287545d9d0d4361d2bd1c6ecc69d">More...</a><br /></td></tr>
<tr class="separator:aa5ed287545d9d0d4361d2bd1c6ecc69d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Flash read and bit test utilities. </p>
<dl class="section user"><dt>Copyright &copy; 2015 Mike Gore, GPL License</dt><dd></dd></dl>
<dl class="section user"><dt>You are free to use this code under the terms of GPL</dt><dd>Please retain a copy of this notice in any code you use it in.</dd></dl>
<p>This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
<p>This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License along with this program. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p>

<p>Definition in file <a class="el" href="flash_8h_source.html">flash.h</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a96d99653ceafa913b2f1331ef7219be8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int bittestv </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&#160;</td>
          <td class="paramname"><em>ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>off</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test bit in byte array. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">*ptr</td><td>byte array </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">off</td><td>bit offset to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 if bit is set, 0 if not </dd></dl>

<p>Definition at line <a class="el" href="flash_8c_source.html#l00151">151</a> of file <a class="el" href="flash_8c_source.html">flash.c</a>.</p>

<p>Referenced by <a class="el" href="flash_8c_source.html#l00166">bittestxy()</a>, and <a class="el" href="ili9341_8c_source.html#l00234">tft_bit_blit()</a>.</p>

</div>
</div>
<a class="anchor" id="aa5ed287545d9d0d4361d2bd1c6ecc69d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int bittestxy </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&#160;</td>
          <td class="paramname"><em>ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test bit in w * h size bit array usng x and y offsets. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">*ptr</td><td>byte array </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>bit x offset </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>bit y offset </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>bit array wide </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">h</td><td>bit array high </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 if bit is set, 0 if not</dd></dl>
<p>Test bit in w * h size bit array usng x and y offsets.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">*ptr</td><td>byte array </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>bit x offset </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>bit y offset </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>the width of bit array </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">h</td><td>the height of bit array </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 if bit is set, 0 if not </dd></dl>

<p>Definition at line <a class="el" href="flash_8c_source.html#l00166">166</a> of file <a class="el" href="flash_8c_source.html">flash.c</a>.</p>

</div>
</div>
<a class="anchor" id="a9a70a218c9d4bae2e51bda4d7219712f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cpy_flash </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy data from Flash to Ram Uses flash_read8() to avoid alighnment problems. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">*src</td><td>address to read from </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">*dest</td><td>address to write to </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>number of bytes to copy </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

<p>Definition at line <a class="el" href="flash_8c_source.html#l00089">89</a> of file <a class="el" href="flash_8c_source.html">flash.c</a>.</p>

<p>Referenced by <a class="el" href="font_8c_source.html#l00094">font_attr()</a>, <a class="el" href="flash_8c_source.html#l00103">read_flash16()</a>, <a class="el" href="flash_8c_source.html#l00115">read_flash32()</a>, <a class="el" href="flash_8c_source.html#l00127">read_flash64()</a>, <a class="el" href="flash_8c_source.html#l00139">read_flash_ptr()</a>, and <a class="el" href="wire_8c_source.html#l00060">wire_draw()</a>.</p>

</div>
</div>
<a class="anchor" id="a092855859eb7ea714f2ab3eee711ddc4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> read_flash16 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>16 bits reads from Flash memory space Uses <a class="el" href="flash_8c.html#a9a70a218c9d4bae2e51bda4d7219712f" title="Copy data from Flash to Ram Uses flash_read8() to avoid alighnment problems. ">cpy_flash()</a> to avoid alighnment problems </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">*p</td><td>address to read </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>uint16_t </dd></dl>

<p>Definition at line <a class="el" href="flash_8c_source.html#l00103">103</a> of file <a class="el" href="flash_8c_source.html">flash.c</a>.</p>

<p>Referenced by <a class="el" href="user__main_8c_source.html#l00631">user_tests()</a>.</p>

</div>
</div>
<a class="anchor" id="ac0366232efac94fc6f8da6a20d9bdaf9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> read_flash32 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>32 bits reads from Flash memory space Uses <a class="el" href="flash_8c.html#a9a70a218c9d4bae2e51bda4d7219712f" title="Copy data from Flash to Ram Uses flash_read8() to avoid alighnment problems. ">cpy_flash()</a> to avoid alighnment problems </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">*p</td><td>address to read </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>uint32_t </dd></dl>

<p>Definition at line <a class="el" href="flash_8c_source.html#l00115">115</a> of file <a class="el" href="flash_8c_source.html">flash.c</a>.</p>

<p>Referenced by <a class="el" href="user__main_8c_source.html#l00631">user_tests()</a>.</p>

</div>
</div>
<a class="anchor" id="ab1d6ea8dfe88a05a02869a3dd8cd7deb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t read_flash64 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>64 bits reads from Flash memory space Uses <a class="el" href="flash_8c.html#a9a70a218c9d4bae2e51bda4d7219712f" title="Copy data from Flash to Ram Uses flash_read8() to avoid alighnment problems. ">cpy_flash()</a> to avoid alighnment problems </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">*p</td><td>address to read </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>uint64_t </dd></dl>

<p>Definition at line <a class="el" href="flash_8c_source.html#l00127">127</a> of file <a class="el" href="flash_8c_source.html">flash.c</a>.</p>

</div>
</div>
<a class="anchor" id="a8820bdd8a76740aaafe0506ff6040002"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> read_flash8 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="flash_8c_source.html#l00046">46</a> of file <a class="el" href="flash_8c_source.html">flash.c</a>.</p>

<p>Referenced by <a class="el" href="flash_8c_source.html#l00151">bittestv()</a>, <a class="el" href="flash_8c_source.html#l00089">cpy_flash()</a>, <a class="el" href="flash_8c_source.html#l00046">read_flash8()</a>, and <a class="el" href="user__main_8c_source.html#l00631">user_tests()</a>.</p>

</div>
</div>
<a class="anchor" id="ab39a1de20d7b9b1da1fb85100c0cbb10"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> read_flash_ptr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pointer read from Flash memory space Uses <a class="el" href="flash_8c.html#a9a70a218c9d4bae2e51bda4d7219712f" title="Copy data from Flash to Ram Uses flash_read8() to avoid alighnment problems. ">cpy_flash()</a> to avoid alighnment problems. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">*p</td><td>address to read </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>uint32_t </dd></dl>

<p>Definition at line <a class="el" href="flash_8c_source.html#l00139">139</a> of file <a class="el" href="flash_8c_source.html">flash.c</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
